package com.hw.entity;

import com.hw.annotation.Column;
import com.hw.annotation.Id;

public class Bookread {
    @Id
    @Column(name = "account")
    private String account;
    @Column(name = "book_name")
    private String bookName;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Bookread(String account, String bookName) {
        this.account = account;
        this.bookName = bookName;
    }

    @Override
    public String toString() {
        return "Bookread{" +
                "account='" + account + '\'' +
                ", bookName='" + bookName + '\'' +
                '}';
    }
}
